﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ECCSystem.BizRule
{ 
    class ClsTeamGoal
    {
		DataAccess.ClsTeamGoal objDAMC = new ECCSystem.DataAccess.ClsTeamGoal();
		public ClsTeamGoal()
        { }
        //Get all MailCategory records list

		public void AddTeamGoal(string strEfficiency, string strFactAchievement,
				string strDefect, string strDefectQuotietyrash, DateTime dtGoal_Month)
        {
			objDAMC.AddTeamGoal(strEfficiency, strFactAchievement, strDefect, strDefectQuotietyrash, dtGoal_Month);

        }

		public object GetList(DateTime dtTime)
		{
			return objDAMC.GetTeamGoal(dtTime);
		}

		public object GetList()
		{
			return objDAMC.GetTeamGoal();
		}

		public void DeleteTeamGoal(string strID)
		{
			objDAMC.DeleteTeamGoal(strID);
		}

		public void UpdateTeamGoal(string strEfficiency, string strFactAchievement,
				string strDefect, string strDefectQuotietyrash, DateTime dtGoal_Month, string strID)
		{
			objDAMC.UpdateTeamGoal(strEfficiency, strFactAchievement, strDefect, strDefectQuotietyrash, dtGoal_Month, strID);
		}
    }
}
